How To Train A Model To Generate Image Embeddings From Scratch